﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoTest.Common.Date
{
    /// <summary>
    /// 时间范围
    /// </summary>
    public class DateTimeRange : IDateTimeRange
    {
        public DateTimeRange()
        {
            StartTime = DateTime.Now.Date.AddDays(-1);
            EndTime = DateTime.Now.Date;
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
    }
}
